 <?php 
 if(!empty($prolistData)){
 	foreach($prolistData as $key=>$value){
    if($key == 0 ||$key == 2 ||$key == 4) echo "<td valign=\"top\">";
 		?>
 <div class="item masonry_brick">
        <div class="item_t">
          <div class="img">
           <?php echo CHtml::link(CHtml::image('uploadfile/product_b/'.$value['Photos'],'detail',array('width'=>220,'height'=>344)), array('view', 'id'=>$value['SysProductsID']),''); ?>
            <span class="sale2_time"><?php echo $value['ProductName'];?></span>
            <div class="btns">
            	<?php echo CHtml::link('喜欢', array('view', 'id'=>$value['SysProductsID']),array('class'=>'img_album_btn',)); ?>
              </div>
            </div>
          <div class="title"><span>剩余:4天02小时34分02秒</span></div>
          </div>
        <div class="sale2 clearfix">
          <ul>
            <li id="sale2_past">
              <div class="sale2_number">5人</div>
              <div class="sale2_money">￥1738</div>
              </li>
            <li id="sale2_now">
              <div class="sale2_number">13人已预订</div>
              <div id="now_w" class="sale2_money">现价￥1699</div>
              </li>
            <li>
              <div class="sale2_number">25人</div>
              <div class="sale2_money">￥1638</div>
              </li>
            <li id="right_border"></li>
            </ul>
          </div>
        <div class="sale2_bottom">
          <div class="sale2_ding"><span class="ding">定金:￥99</span> <span class="yuan">(原价:￥<?php echo $value['Price'];?>)</span></div>
          <div class="sale2_btn"><?php echo CHtml::link('<img alt="" src="images/sale_btn.jpg" />', array('view', 'id'=>$value['SysProductsID'])); ?></div>
          </div>
        </div>
    <?php 
 	  if($key == 1 ||$key == 3 ||$key == 5) echo "</td>";
 	}}
 	?>
      
